<script setup lang="ts">
import { Label, type LabelProps } from 'radix-vue'
import { cn } from '@/lib/utils'

const props = defineProps<LabelProps & { class?: string }>()
</script>

<template>
  <Label
    v-bind="props"
    :class="
      cn(
        'block text-xs tracking-tight text-gray-400 text-left',
        props.class,
      )
    "
  >
    <slot />
  </Label>
</template>
